package com.ruanyun.modular.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 产品产量信息
 * </p>
 *
 * @author zs
 * @since 2021-04-16
 */
@TableName("t_productinfo")
public class TProductinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 企业id
     */
    @TableField("company_id")
    private Integer companyId;

    /**
     * 产品名称
     */
    @TableField("product_name")
    private String productName;

    /**
     * 产能
     */
    @TableField("production_capacity")
    private String productionCapacity;

    /**
     * 2020年产品产量
     */
    @TableField("yield")
    private String yield;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 是否删除 0标识未删除
     */
    @TableField("del_flag")
    private Integer delFlag;

    @TableField("c_unit")
    private  String cUnit;

    @TableField("first_yield")
    private  String firstYield;

    @TableField("second_yield")
    private  String secondYield;

    @TableField("third_yield")
    private  String thirdYield;

    @TableField("fourth_yield")
    private  String fourthYield;

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @TableField("remark")
    private  String remark;

    public String getcUnit() {
        return cUnit;
    }

    public void setcUnit(String cUnit) {
        this.cUnit = cUnit;
    }

    public String getFirstYield() {
        return firstYield;
    }

    public void setFirstYield(String firstYield) {
        this.firstYield = firstYield;
    }

    public String getSecondYield() {
        return secondYield;
    }

    public void setSecondYield(String secondYield) {
        this.secondYield = secondYield;
    }

    public String getThirdYield() {
        return thirdYield;
    }

    public void setThirdYield(String thirdYield) {
        this.thirdYield = thirdYield;
    }

    public String getFourthYield() {
        return fourthYield;
    }

    public void setFourthYield(String fourthYield) {
        this.fourthYield = fourthYield;
    }




    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductionCapacity() {
        return productionCapacity;
    }

    public void setProductionCapacity(String productionCapacity) {
        this.productionCapacity = productionCapacity;
    }

    public String getYield() {
        return yield;
    }

    public void setYield(String yield) {
        this.yield = yield;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "TProductinfo{" +
        "id=" + id +
        ", companyId=" + companyId +
        ", productName=" + productName +
        ", productionCapacity=" + productionCapacity +
        ", yield=" + yield +
        ", createTime=" + createTime +
        ", delFlag=" + delFlag +

                ", cUnit=" + cUnit +
                ", firstYield=" + firstYield +
                ", secondYield=" + secondYield +
                ", thirdYield=" + thirdYield +
                ", fourthYield=" + fourthYield +
                ", remark=" + remark +

        "}";
    }
}
